import java.awt.*;

public class Block extends Rectangle {
    
    public int id;
    
    public Block(int x, int y, int width, int height, int id) {
        setBounds(x, y, width, height);
        this.id = id;
    }
    
    public void draw(Graphics g) {
        g.setColor(new Color(109,160,199));
        g.drawRect(x, y, 20, 20);
        g.setColor(new Color(79,146,198));
        g.fillRect(x+1, y+1, width-1, height-1);
    }
    
    public void drawTable(Graphics g) {
        g.setColor(new Color(80,80,80));
        g.drawRect(x, y, width, height);
        g.setColor(new Color(100,100,100));
        g.fillRect(x+1, y+1, width-1, height-1);
    }
}
